package com.cysyz.web.modules.base.permission.annotation;


import com.cysyz.web.modules.base.permission.support.ModuleFunctionType;
import com.cysyz.web.modules.base.permission.support.ShowStatus;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by abroad on 2014/11/4.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target( { ElementType.METHOD })
public @interface ModuleFunction {
    String value();
    /*String code();*/
    ModuleFunctionType moduleFunctionType() default ModuleFunctionType.NORMAL;

    String menuPrivilegeMethodName() default "";

    ShowStatus showStatus() default ShowStatus.SHOW;
}
